package com.syezon.wifikey.analysis.ui;

import android.os.Build;
import android.os.Bundle;
import android.support.annotation.RequiresApi;

import com.syezon.android.base.ui.BaseAppCompatActivity;
import com.umeng.analytics.MobclickAgent;

public abstract class UmengAnalysisAppCompatActivity
        extends BaseAppCompatActivity {

    @RequiresApi(api = Build.VERSION_CODES.ECLAIR)
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        MobclickAgent.setScenarioType(this, MobclickAgent.EScenarioType.E_UM_NORMAL);
    }

    @Override
    protected void onResume() {
        super.onResume();
        MobclickAgent.onResume(this);
    }

    @Override
    protected void onPause() {
        super.onPause();
        MobclickAgent.onPause(this);
    }
}
